Magnetotaxis as a Means for Nanofabrication