I do not know coherent sheaves over schemesNo. You need that are not locally noetherianthe scheme is reduced. However, on locally noetherian schemes
It is certainly true that if $F_x$ is a free $\mathcal{O}_{X,x}$-module of rank $n$, the strategythen there exist an open neighborhood $U$ of $x$ such that $F \vert_U$ is a free $\mathcal{O}_U$- module of rank $n$.
But from $\dim_{k(x)} F_x \otimes_{\mathcal{O}_{X,x}} k(x) = 1$ you describecan deduce that $F_x$ is doubtless righta cyclic module and thereforenot that $F_x$ is free of rank $1$.
However on a reduced scheme the answerstatement is yestrue: exercise II.5.8 of Hartshorne.