Fillament spool for 3D printers